//
//  ViewController.m
//  LBCropImagePage
//
//  Created by mac on 2024/5/26.
//

#import "ViewController.h"
#import "LBCropViewController.h"


@interface ViewController ()


@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor blackColor];
    self.view.backgroundColor = [UIColor cyanColor];

    // Do any additional setup after loading the view.
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    LBCropConfig *config = [[LBCropConfig alloc] init];
    config.image = [UIImage imageNamed:@"kkk"];
    LBCropViewController *vc = [[LBCropViewController alloc] initWithConfig:config];
    [self.navigationController pushViewController:vc animated:YES];
}

@end
